#ifndef __CONTAINER_HPP__
#define __CONTAINER_HPP__

#include <widget.hpp>

namespace gtkhpp {

class Container : public Widget{
public:
	void add(Widget &widget) { gtk_container_add(GTK_CONTAINER(obj), GTK_WIDGET(widget.object()));}
        void add(Widget *widget) { gtk_container_add(GTK_CONTAINER(obj), GTK_WIDGET(widget->object()));}
protected:
        Container(Object *parent):Widget(parent) {}
};

} // namespce gtkhpp
#endif /* end of include guard */
